class Solution {
public:
    int smallestEvenMultiple(int n)
    {
        return n % 2 ? n * 2 : n;
    }
};